<?php
/* Adjust these variables if you're used custom locations for "app" or "buan" */
$__appPath = dirname(__FILE__).'/app';
$__buanPath = dirname(__FILE__).'/buan';

/* Initialise Buan and the application environment */
require("{$__buanPath}/Buan.php");
use \Buan\Core;
Core::configure("{$__appPath}/config.php", "{$__appPath}/bootstrap.php");
unset($__appPath, $__buanPath);

/* Boot */
Core::boot();

/* Shutdown */
Core::shutdown();
?>